package com.david.IfaceAutoTest.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 接口interface_query参数
 * </p>
 *
 * @author david
 * @since 2021-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("interface_query")
@ApiModel(value="InterfaceQuery对象", description="接口interface_query参数")
public class InterfaceQuery extends Model<InterfaceQuery> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "接口id")
    private Integer interfaceId;

    @ApiModelProperty(value = "interface_query key值")
    private String queryKey;

    @ApiModelProperty(value = "interface_query value值")
    private String queryValue;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @TableLogic
    private Integer isDel;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
